package com.ruoyi.warning.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import com.ruoyi.common.annotation.Excel;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenhc
 * @since 2025-09-05
 */
@Getter
@Setter
@TableName("devices_ping")
public class DevicesPing implements Serializable {

    private static final long serialVersionUID = 1L;

    @MppMultiId
    @TableField(value = "device_id")
    private Integer deviceId;

    /**
     * 插入时间
     */
    @Excel(name = "时间")
    @MppMultiId
    @TableField(value = "inserted")
    private LocalDateTime inserted;

    /**
     * ping时间
     */
    @Excel(name = "ping时间")
    private Object ping;
}
